import request from '@/utils/request'

export function getCaseList() {
  return request({
    url: '/company/getCaseList',
    method: 'get'
  })
}

export function getSystemUpdateLogs(query) {
  return request({
    url: '/company/getSystemUpdateLogs',
    method: 'get',
    params: query
  })
}

export function getVideoPlatformType(query) {
    return request({
        url: '/company/getVideoPlatformType',
        method: 'get',
        params: query
    })
}
export function getShopLink() {
  return request({
    url: 'company/getShopLink',
    method: 'get'
  })
}
export function getOtherModule() {
  return request({
    url: 'company/getOtherModule',
    method: 'get'
  })
}

export function generalize(data) {
  return request({
    url: 'company/generalize',
    method: 'post',
    data
  })
}


export function generalizeList() {
  return request({
    url: 'company/generalizeList',
    method: 'get'
  })
}
